public class Card {
    public String suit;
    public int rank;
    public Card(String suit, int rank){
        this.rank=rank;
        this.suit=suit;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    @Override
    public String toString() {
        return suit+" "+rank;
    }
}